package com.lz.autotest.project.testmanage.autoTest.mapper;

import com.lz.autotest.project.testmanage.autoTest.entity.TsstAutotestMenu;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author: X
 * @date: Created in 2023/6/14 16:47
 * @Description:
 */
@Repository
public interface TsstAutotestMenuMapper {

    /**
     * 新增
     * @author zip.li
     * @date 2023/06/14
     **/
    int insert(TsstAutotestMenu TsstAutotestMenu);

    /**
     * 刪除
     * @author zip.li
     * @date 2023/06/14
     **/
    int delete(Map<String, Object> param);

    /**
     * 更新
     * @author zip.li
     * @date 2023/06/14
     **/
    int update(TsstAutotestMenu TsstAutotestMenu);

    /**
     * 查询 根据主键 id 查询
     * @author zip.li
     * @date 2023/06/14
     **/
    TsstAutotestMenu load(int id);

    /**
     * 查询所有
     * @author zip.li
     * @date 2023/06/14
     **/
    public List<TsstAutotestMenu> selectAllMenu(Map<String, Object> param);

}